// 框架内路由
export default [
  {
    path: '/',
    name: 'index',
    redirect: '/home',
    component: () => import('@/views/Index.vue'),
    children: [
      {
        path: 'home', // 首页
        name: 'home',
        component: () => import('@/views/Home.vue'),
      },
      {
        path: 'film', // 电影
        name: 'film',
        component: () => import('@/views/Film.vue'),
      },
      {
        path: 'cinema', // 影院
        name: 'cinema',
        component: () => import('@/views/Cinema.vue'),
      },
      {
        path: 'my', // 我的
        name: 'my',
        component: () => import('@/views/My.vue'),
      },
    ],
  },
];
